<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/MainTemplate.master" Inherits="System.Web.Mvc.ViewPage<DotNetBurner.StoryListBySearchData>" %>
<%@ Import Namespace="DotNetBurner" %>
<%@ Import Namespace="Resources" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    <% var model = ViewData.Model; %>
    <div class="tab">
        <h1><%=Strings.SearchResult%>: <%=model.SearchQuery.HtmlEncode()%></h1>
    </div>
    <% if ((model.Stories != null) && (model.Stories.TotalCount > 0)) %>
    <%{%>
        <%=Html.StoryList(ViewData.Model)%>
    <%}%>
    <%else%>
    <%{%>
        <span class="page-message"><%=Strings.NoStoryFoundByCriteria%></span>
    <%}%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="SideContentPlaceHolder" runat="server">
</asp:Content>